// Copyright 2017-2025 @polkadot/react-components authors & contributors
// SPDX-License-Identifier: Apache-2.0

import React from 'react';

function UserIcon (): React.ReactElement {
  return (
    <svg
      fill='none'
      height='40'
      viewBox='0 0 40 40'
      width='40'
      xmlns='http://www.w3.org/2000/svg'
      xmlnsXlink='http://www.w3.org/1999/xlink'
    >
      <circle
        cx='20'
        cy='20'
        // eslint-disable-next-line react/no-unknown-property
        fill='url(#pattern0)'
        r='20'
      />
      <defs>
        <pattern
          height='1'
          id='pattern0'
          patternContentUnits='objectBoundingBox'
          width='1'
        >
          <use
            transform='scale(0.00277778)'
            xlinkHref='#image0'
          />
        </pattern>
        <image
          height='360'
          id='image0'
          width='360'
          xlinkHref=''
        />
      </defs>
    </svg>
  );
}

export default React.memo(UserIcon);
